using Microsoft.AspNetCore.Mvc;

namespace mvc.players
{
    public class TheWordCup 
    {
        public IActionResult Index()
        {
            List<Players> player = new List<Players>()
            {
                new Players{Number = 01,Name = "梅西"},
                new Players{Number = 02,Name = "内巴尔"},
                new Players{Number = 03,Name = "C罗"},
                new Players{Number = 04,Name = "奥斯卡"},
                new Players{Number = 05,Name = "莫德里奇"},
                new Players{Number = 06,Name = "姆巴佩"}
            };
            ViewData["play"] = Players;
            return View();
        }
    }
}